.block{
    width: 100px;
    height: 100px;
    background: #ccc;
    position: absolute;
    transition: 0.5s ease-in;
}
.content{
    position: relative;
}